home *** CD-ROM | disk | FTP | other *** search
/ Foreland January 1997 / Foreland January 1997.iso / explore.dir / 00020.ls < prev    next >
Encoding:
Text File  |  1996-12-26  |  712 b   |  28 lines

  1. on hiliteButtons
  2.   global spriteNum
  3.   repeat with spriteNum = 33 to 48
  4.     if rollOver(spriteNum) then
  5.       set mNum to the memberNum of sprite spriteNum
  6.       set mname to the name of member mNum
  7.       set hiliteName to mname && "hilite"
  8.       set hiliteNum to the number of member hiliteName
  9.       if hiliteNum > 0 then
  10.         puppetSprite(spriteNum, 1)
  11.         set the memberNum of sprite spriteNum to hiliteNum
  12.       end if
  13.       next repeat
  14.     end if
  15.     puppetSprite(spriteNum, 0)
  16.   end repeat
  17. end
  18.  
  19. on checkBar
  20.   repeat with menuNum = 41 to 48
  21.     if rollOver(32) then
  22.       set the visible of sprite menuNum to 1
  23.       next repeat
  24.     end if
  25.     set the visible of sprite menuNum to 0
  26.   end repeat
  27. end
  28.